from wechat_user.main import user
if __name__ == '__main__':
    print(user.get_mark(sno=16008062,spw='971016w'))

    # info_json = {
    #     "name": "王祖维",
    #     "sno": 16008062,
    #     "spw": "w",
    #     "college": "科信软件学院",
    #     "class": "软件工程16-2班",
    #     "prof": "软件工程",
    #     "sex": "男",
    #     "birth": "1997-10-16",
    #     "grade": "2016"
    # }
    # grade_json = {
    #     "grade":[{
    #         "year": "2016-2017",
    #         "semester": 1,
    #         "cname": "体育1",
    #         "credit": 1.0,
    #         "point": 4.0,
    #         "usually": "100",
    #         "mid": "0",
    #         "final": "94",
    #         "experiment": "0",
    #         "grade": "95"
    #     }]
    # }
    # schedule_json= {
    #     "courses": [{
    #         "id": 0,
    #         "type": 1,
    #         "start": 1,
    #         "end": 18,
    #         "day_week": 1,
    #         "cour_start": 1,
    #         "cour_length": 2,
    #         "cour_name": "软件项目开发实训(学选)",
    #         "teacher_name": "孟磊",
    #         "cour_where": "软件331",
    #         "jud": 0
    #     }]
    # }
